package com.burstly.lib.network;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

public final class ResponseObject extends HashMap<String, Object>
{
  private static final long serialVersionUID = -5778096122792330226L;
  private boolean mSuperGet;

  public ResponseObject()
  {
  }

  public ResponseObject(Map<String, ?> paramMap)
  {
    super(paramMap);
  }

  private Object getValueFromMap(Object paramObject, Map<?, ?> paramMap)
  {
    this.mSuperGet = true;
    Object localObject = paramMap.get(paramObject);
    if (localObject != null)
    {
      this.mSuperGet = false;
      return localObject;
    }
    Iterator localIterator = paramMap.entrySet().iterator();
    while (localIterator.hasNext())
    {
      Map.Entry localEntry = (Map.Entry)localIterator.next();
      if ((localEntry.getValue() instanceof Map))
        localObject = getValueFromMap(paramObject, (Map)localEntry.getValue());
    }
    return localObject;
  }

  public Object get(Object paramObject)
  {
    if (this.mSuperGet)
      return super.get(paramObject);
    return getValueFromMap(paramObject, this);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.network.ResponseObject
 * JD-Core Version:    0.6.2
 */